--- title: Dark Mode metaDescription: Dark Mode uses a darker color palette for all screens, making foreground content stand out against darker backgrounds. supportedFrameworks: angular|flutter|react|react-native|vue --- import { Fragment } from '@/components/Fragment'; import { FRAMEWORKS } from '@/data/frameworks'; import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; export async function getStaticPaths() { return getCustomStaticPath(frontmatter.supportedFrameworks); } {/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */} export async function getStaticProps() { return { props: {} } } {({ platform }) => import(`./${platform}.mdx`)}